import {
    center,
} from '@/css/DialogsCss.module.scss';
export default {
    title:'销售员详情',
    dialog:{
        size:'50%'
    },
    onMounted: [{
        action: 'set',
        target: '$widgets.formbasic',
        field: 'value',
        value: '$params'
    }],
    items: [{
        region: 'center',
        class: center,
        layout: 'vertical',
        items: [{
            layout: 'vertical',
            items: [{
                id: 'formbasic',
                widget: 'form',
                layout: {
                    type:'gridform',
                    column:2
                },
                fields:[{
                    itemId:'real_name',
                    widget:'form-text',
                    label:'真实姓名',
                },{
                    itemId:'birthday',
                    widget:'form-text',
                    label:'生日日期',
                },{
                    itemId:'card_id',
                    widget:'form-text',
                    label:'身份证号',
                },{
                    itemId:'gender',
                    print: true,
                    widget:'select',
                    dictionary: 'common/static/gender',
                    label:'性别',
                },{
                    itemId:'position',
                    widget:'form-text',
                    label:'职位',
                },{
                    itemId:'phone',
                    widget:'form-text',
                    label:'手机号码',
                },{
                    itemId:'tel',
                    widget:'form-text',
                    label:'座机号码',
                },{
                    itemId:'qq',
                    widget:'form-text',
                    label:'QQ号码',
                },{
                    itemId:'wechat',
                    widget:'form-text',
                    label:'微信号码',
                },{
                    itemId:'email',
                    widget:'form-text',
                    label:'邮箱地址',
                },{
                    itemId:'address',
                    widget:'form-text',
                    label:'联系地址',
                },{
                    itemId:'entry_time',
                    widget:'form-text',
                    label:'入职时间',
                },{
                    itemId:'regular_time',
                    widget:'form-text',
                    label:'转正时间',
                },{
                    itemId: 'quit_time',
                    widget:'form-text',
                    label:'离职时间',
                },{
                    itemId:'remarks',
                    widget:'form-text',
                    label:'备注说明',
                }],
                flex: true
            }]
        }]
    }]
};


